
'''游戏的设置类'''
class GameSetting():
    def __init__(self):
        self.screen_width=800
        self.screen_height=600
        self.bg_color=(255,255,255) #游戏背景色
        self.cap='Goku yo'

'''下面为该类添加一段测试代码'''
if __name__=='__main__':
    settings=GameSetting()
    print(settings.screen_width)
    print(settings.screen_height)
    print(settings.bg_color)
    
